Autonomous control of heavy equipment and vehicles using task hierarchies

ABSTRACT

The present disclosure relates techniques for autonomously controlling heavy equipment and vehicles using task hierarchies. Particularly, aspects of the present disclosure are directed to obtaining a task to be performed by an autonomous vehicle, determining subtasks to be performed to perform the task, obtaining sensor data providing a representation of operation of the autonomous vehicle in a worksite environment and situational context of the worksite environment, determining a task context for a subtask based on the sensor data, identifying a predictive model from a library of predictive models based on the task context, estimating, by the predictive model, a set of output data based on sensor data, and controlling operations of the autonomous vehicle in the worksite environment to perform the subtask using a set of input data derived from the sensor data and the set of output data.

TECHNICAL FIELD

The present disclosure relates generally to the autonomous operation of heavy equipment or vehicles to perform various tasks, and more particularly to techniques for autonomously controlling heavy equipment and vehicles using task hierarchies.

BACKGROUND

The increasing use of autonomous machines is changing the way traditional tasks are performed. As a result, autonomous machines are increasingly being used in various domains. For example, an increasing number of autonomous machines in the form of autonomous trucks, bulldozers, loaders, excavators, etc. are being used at various work sites such as industrial work sites, mining sites, construction sites, commercial sites, manufacturing sites and so on. For instance, at a mine site, tasks performed by autonomous machines located at a mining site may involve using autonomous excavators to excavate materials, using autonomous loaders or bulldozers (dozers) to load materials into autonomous trucks, using autonomous trucks to transport the materials or objects from one location to another within the site, and so on. Unlike traditional machines, the use of autonomous machines for performing tasks has given rise to a whole new set of problems, especially in sites such as mines, etc. where diverse off-road conditions across the site can pose significant challenges for performing tasks. The autonomous nature of the machines for performing tasks also presents unique problems in how tasks are allocated and controlled, and how the tasks are performed by a set (or fleet) of autonomous machines, either individually or cooperatively.

BRIEF SUMMARY

The present disclosure relates generally to the autonomous operation of heavy equipment or vehicles to perform various tasks, and more particularly to techniques for autonomously controlling heavy equipment and vehicles using task hierarchies. Various inventive embodiments are described herein, including methods, systems, non-transitory computer-readable storage media storing programs, code, or instructions executable by one or more processors, and the like.

An infrastructure is provided that improves the control of autonomous systems such as autonomous vehicles, autonomous machines, and the like. An autonomous vehicle management system (also referred to as a controller system) is described that is configured to automatically control one or more autonomous functions or operations performed by the vehicle or machine in diverse off-road conditions such that the autonomous operations are performed in a safe manner. Examples of autonomous operations or tasks include, without limitation, autonomous driving or navigation along a path, scooping and dumping operations, moving materials or objects (e.g., moving dirt or sand from one area to another), lifting materials, driving, rolling, spreading dirt, excavating, transporting materials or objects from one point to another point, and the like.

In various embodiments, the autonomous vehicle management system is configured to receive sensor data from one or more sensors associated with an autonomous vehicle. Based upon this sensor data, the autonomous vehicle management system is configured to generate and keep updated an internal map for the autonomous vehicle, where the internal map includes information representative of the autonomous vehicle's state of the autonomous vehicle's environment (e.g., objects detected in the vehicle's environment). Based upon the internal map and based upon other inputs, such as the task (e.g., change lanes, turn left/right, perform a specialized operation such as digging, scooping, etc.) to be performed by the autonomous vehicle, safety considerations, and the like, the autonomous vehicle management system is configured to generate a plan of action for the autonomous vehicle such that the task is achieved in a safe manner. The plan of action may identify a sequence of one or more planned actions or subtasks to be performed by the autonomous vehicle in order for the autonomous vehicle to achieve the task in a safe manner. The autonomous vehicle management system may then control one or more vehicle systems (e.g., braking system, steering system, propulsion system for driving the autonomous vehicle, electrical systems, auxiliary systems (e.g., systems for outputting information to a driver or passenger of the autonomous vehicle) to perform the actions or subtasks in the plan of action.

The autonomous vehicle management system may use various artificial intelligence (AI) based techniques (e.g., lazy learning, reinforcement learning (RL) techniques, etc.) and models as part of its processing. For example, the autonomous vehicle management system may use a Bayesian model to estimate a probability distribution of an underlying function amongst all possible functions and predict output data (e.g., linear and angular velocity) from sensor data (e.g., displacement of accelerator and brakes captured by sensors mounted on the autonomous vehicle) captured by one or more sensors of the autonomous vehicle. As another example, the autonomous vehicle management system may use AI-based techniques to identify a set of actions or subtasks to be included in the plan of action to be performed by the autonomous vehicle to achieve a particular task in a stable manner.

In various embodiments, a computer-implemented method is provided that includes obtaining, by a controller system, a task to be performed by an autonomous vehicle in a worksite environment; determining, by the controller system, one or more subtasks to be performed to perform the task based on a premapping of the task and the one or more subtasks; obtaining, by the controller system, a first set of sensor data providing a representation of operation of the autonomous vehicle in the worksite environment and situational context of the worksite environment; determining, by the controller system, a first task context associated with a first subtask of the one or more subtasks based on the first set of sensor data; identifying, by the controller system, a first predictive model from a library of predictive models based on the first task context associated with the first subtask, wherein the first predictive model is trained on training data having features or variables consistent with the first task context; estimating, by the first predictive model, a first set of output data based on the first set of sensor data; and controlling, by the controller system, one or more operations of the autonomous vehicle in the worksite environment to perform the first subtask using a first set of input data, wherein the first set of input data is derived from the first set of sensor data and the first set of output data.

In some embodiments, the method further comprises: obtaining, by the controller system, a second set of sensor data providing another representation of operation of the autonomous vehicle in the worksite environment and the situational context of the worksite environment; determining, by the controller system, a second task context associated with the first subtask of the one or more subtasks based on the second set of sensor data; identifying, by the controller system, a second predictive model from the library of predictive models based on the second task context associated with the first subtask, wherein the second predictive model is trained on training data having features or variables consistent with the second task context; estimating, by the second predictive model, a second set of output data based on the second set of sensor data; and controlling, by the controller system, one or more operations of the autonomous vehicle in the worksite environment to perform the first subtask using a second set of input data, wherein the second set of input data is derived from the second set of sensor data and the second set of output data.

In some embodiments, the method further comprises: obtaining, by the controller system, a second set of sensor data providing another representation of operation of the autonomous vehicle in the worksite environment and the situational context of the worksite environment; determining, by the controller system, a second task context associated with a second subtask of the one or more subtasks based on the second set of sensor data; identifying, by the controller system, a second predictive model from another library of predictive models based on the second task context associated with the second subtask, wherein the second predictive model is trained on training data having features or variables consistent with the second task context; estimating, by the second predictive model, a second set of output data based on the second set of sensor data; and controlling, by the controller system, one or more operations of the autonomous vehicle in the worksite environment to perform the second subtask using a second set of input data, wherein the second set of input data is derived from the second set of sensor data and the second set of output data.

In some embodiments, the determining the first task context comprises: identifying a predefined set of variables from the representation of operation of the autonomous vehicle in the worksite environment and the situational context of the worksite environment; and defining the first task context based on the predefined set of variables.

In some embodiments, the identifying the first predictive model comprises: comparing the predefined set of variables to features or variables in training data used to train each predictive model within the library of predictive models; ranking, based on the comparing, a similarity of the predefined set of variables to the features or variables in the training data used to train each predictive model within the library of predictive models; and selecting, based on the ranking, the highest ranked predictive model, wherein the highest ranked predictive model in the first predictive model.

In some embodiments, the features or variables in the training data used to train each predictive model are stored in metadata associated with each predictive model.

In some embodiments, the first predictive model has a Gaussian process that defines a posterior distribution over one or more functions that define a relationship between independent variables and dependent variables for the operation of the autonomous vehicle in the worksite environment, and wherein the first predictive model is trained on the training data having the features or variables using reinforcement learning.

In some embodiments, a system is provided that includes one or more data processors and a non-transitory computer readable storage medium containing instructions which, when executed on the one or more data processors, cause the one or more data processors to perform part or all of one or more methods or processes disclosed herein.

In some embodiments, a computer-program product is provided that is tangibly embodied in a non-transitory machine-readable storage medium and that includes instructions configured to cause one or more data processors to perform part or all of one or more methods disclosed herein.

The terms and expressions which have been employed are used as terms of description and not of limitation, and there is no intention in the use of such terms and expressions of excluding any equivalents of the features shown and described or portions thereof, but it is recognized that various modifications are possible within the scope of the invention claimed. Thus, it should be understood that although the present invention has been specifically disclosed by embodiments and optional features, modification and variation of the concepts herein disclosed may be resorted to by those skilled in the art, and that such modifications and variations are considered to be within the scope of this invention as defined by the appended claims.

BRIEF DESCRIPTION OF THE DRAWINGS

The present disclosure can be best understood by reference to the following description taken in conjunction with the accompanying figures, in which like parts may be referred to by like numerals.

FIG. 1A is a high level simplified block diagram of an autonomous vehicle incorporating a controller system (referred to herein as an autonomous vehicle management system (AVMS)) according to various embodiments.

FIG. 1B depicts an example autonomous vehicle management system implemented primarily in software, according to various embodiments.

FIG. 2A is a simplified block diagram depicting subsystems of an autonomous vehicle management system according to various embodiments.

FIG. 2B illustrates software modules (e.g., program, code, or instructions executable by one or more processors of an autonomous machine) that may be used to implement the various subsystems of an autonomous vehicle management system according to various embodiments.

FIG. 3 illustrates an example set of sensors of an autonomous machine according to various embodiments.

FIG. 4 illustrates a task hierarchy according to various embodiments.

FIG. 5 illustrates a machine-learning modeling system for controlling an autonomous vehicle according to various embodiments.

FIG. 6 is a flow chart illustrating a process for generating and executing a plan of action for controlling an autonomous vehicle according to various embodiments.

FIG. 7 depicts a simplified block diagram of an exemplary computing system that can be used to implement one or more of the systems and subsystems described in this disclosure and/or to perform any one of the processes or methods described herein.

DETAILED DESCRIPTION

Exemplary examples and embodiments of the present disclosure will now be described in detail with reference to the drawings, which are provided as illustrative examples so as to enable those skilled in the art to practice the disclosure. Notably, the figures and examples below are not meant to limit the scope of the present disclosure to a single embodiment, but other embodiments are possible by way of interchanges of or combinations of some or all of the described or illustrated elements. Wherever convenient, the same reference numbers will be used throughout the drawings to refer to the same or similar parts. In the following description, for the purposes of explanation, specific details are set forth in order to provide a thorough understanding of certain inventive embodiments. However, it will be apparent that various embodiments may be practiced without these specific details. The figures and description are not intended to be restrictive. The word “exemplary” is used herein to mean “serving as an example, instance, or illustration.” Any embodiment or design described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Where certain elements of these implementations can be partially or fully implemented using known components, only those portions of such known components that are necessary for an understanding of the present disclosure will be described, and detailed descriptions of other portions of such known components will be omitted so as not to obscure the disclosure.

The present disclosure relates generally the autonomous operation of heavy equipment or vehicles to perform various tasks, and more particularly to techniques for autonomously controlling heavy equipment and vehicles using task hierarchies. Conventional heavy equipment or vehicles are used to perform various jobs or tasks and each job or task requires performance one or more subtasks. The one or more subtasks are part of a task hierarchy associated with each job or task. For example, the job or task of moving a pile of material from a first location to a second location may include a hierarchical structure of subtasks including approaching the material pile at the first location, picking up a portion of the material pile, driving the portion of the material pile to the second location, and dumping the portion of the material pile at the second location. Each subtask within the task hierarchy for performing a job or task may be performed in a number of ways dependent on the context or characteristics surrounding the job or task (this is commonly known as environmental or situational variation in a given job or task, and is referred to hereafter simply as “task context”).

Continuing with example above for a job or task of moving a material pile, consider the material spread lightly over a large area, where the material would need to be scooped by an autonomous vehicle, such as a skid steer loader, an excavator, a track hoe, a compact track loader, a wheel loader, backhoe, dozer, a loader, a scraping equipment etc. In the case of scooping the material using any such equipment, scooping actions would need longer scooping movements, more number of scooping times, or might need straight bucket down movements followed by a lift bucket which could be more effective. In further instances, involving taller piles of dirt, very short scooping actions could efficiently fill the bucket. However, in an effort to do longer scoops the machine might get stuck in the pile of dirt, and thus would need to modify its angle of approach to avoid getting stuck. This type of maneuvering dependent upon any number of variables derived from the task context surrounding the job or task is known or determinable for expert human machine operators but is extremely complex for an autonomous vehicle to emulate. Additionally, because the task context surrounding the job or task is dynamic and may change while performing any task or subtask, the autonomous vehicle has difficulty learning in real-time to deal with ever-changing circumstances (many variations in the context or characteristics may not have been included in the training data for the machine-learning algorithms).

In order to overcome these limitations and problems, a controller system and framework is disclosed herein that breaks each job or tasks into unit task levels, e.g., approaching a material pile that is cone shaped at a given angle of approach, this is one unit task on how to tackle this type of material pile, and each variation of this task such as different shape pile, environment change, and/or different approach angle is a different unit task. Each unit task has an task hierarchy and can be further broken down into a set of subtasks, e.g., approach material pile, pick up portion of material pile, move portion of material pile, and dump portion of material pile, etc. Further, each subtask has its own possible variations based on fine grained task context associated with the subtask such as angle of approach, slope of approach, shape of pile, environmental factors, road conditions, etc. The task hierarchy for tasks and subtasks may be premapped, and a controller system of the autonomous vehicle assigned a given task can determine from the premapping all of the subtasks required for completing the given task. For each subtask to be performed, the controller system obtains information from sensors (e.g., images of job site, steering angle of vehicle, slope of road, weather, name of job site, etc.) and determines the current task context associated with each subtask.

The controller system identifies a library of predictive models associated with each subtask and identifies one or more predictive models from the identified library based on the determined current task context. Thus, for each combination of subtask and task context there is a predictive model best matched (i.e., trained/learned based on featured or variables consistent with the task context) for performing the subtask given the current task context. For example, there may be a first predictive model for picking up a material pile where the material pile is thinly spread out on the ground and the approach angle is less than 45°, there may be a second predictive model for picking up a material pile where the material pile is conical in shape and the approach angle is less than 45°, and there may be a third predictive model for picking up a material pile where the material pile is conical in shape and the approach angle is greater than 15° with an obstruction in front of the material pile. The controller system uses the one or more predictive models to determine actions to be taken for controlling the autonomous vehicle to complete the subtask.

In this manner, the complexity of each task and subtask is reduced and the number of variables or features that each predictive model needs to take into consideration for determining actions to be taken for completing each task and subtask is limited. Therefore, it easier to control the autonomous vehicle and emulate human decision making in performing each task or subtask. As should be understood, any number of predictive models can be identified using the task hierarchy and information from sensors to complete the tasks or subtasks, and the predictive models can be implemented in parallel, sequence, or any other determinable order to complete each subtask and ultimately the given task. Moreover, if the task context changes while the autonomous vehicle is performing one of the subtasks, the controller system is continuously obtaining new information from sensors (e.g., images of job site, steering angle of vehicle, slope of road, weather, name of job site, etc.) and the controller system can update the current task context associated with the subtask based on the new information and identify other predictive model(s) that may be better matched to the complete the subtask given the updated current task context.

As used herein, the terms “substantially,” “approximately” and “about” are defined as being largely but not necessarily wholly what is specified (and include wholly what is specified) as understood by one of ordinary skill in the art. In any disclosed embodiment, the term “substantially,” “approximately,” or “about” may be substituted with “within [a percentage] of” what is specified, where the percentage includes 0.1, 1, 5, and 10 percent. As used herein, when an action is “based on” something, this means the action is based at least in part on at least a part of the something.

FIG. 1A is a high level simplified block diagram of an autonomous vehicle 100 incorporating a controller system (referred to herein as autonomous vehicle management system (AVMS) 105) according to certain embodiments. For purposes of this disclosure, an autonomous vehicle, such as autonomous vehicle 100, is a vehicle that is capable of performing one or more operations autonomously and substantially free of any human user or manual input. For example, in certain embodiments, the autonomous operation may be the ability of the vehicle 100 to autonomously sense its environment and navigate or drive along a path autonomously and substantially free of any human user or manual input. Examples of other autonomous operations include, without limitation, scooping and dumping operations, moving materials or objects (e.g., moving dirt or sand from one area to another), lifting materials, driving, rolling, spreading dirt, excavating, transporting materials or objects from one point to another point, and the like.

Autonomous vehicle 100 can be of various different types. For example, autonomous vehicle 100 can be a car or mobile machine that can be used to transport people and/or cargo. Autonomous vehicle 100 can be a specialized vehicle for performing specialized operations such as road or path compacting, rolling, digging, lifting, etc. Examples of autonomous vehicle 100 include without restriction wagons, bicycles, motor vehicles (e.g., motorcycles, cars, trucks, buses), railed vehicles (e.g., trains, trams), watercrafts (e.g., ships, boats), aircrafts, spacecraft, and/or heavy equipment vehicles (e.g. dump trucks, tractors, bull dozers, excavators, forklifts, etc.). Since the environment of autonomous vehicle 100 can include other vehicles, including other autonomous vehicles, for purposes of clarity, in order to differentiate autonomous vehicle 100 from other vehicles in its environment, autonomous vehicle 100 is also sometimes referred to as the ego vehicle.

The present disclosure describes several embodiments in the context of an autonomous vehicle. The use of the term “vehicle” and description with respect to a vehicle is not intended to be limiting or restrictive. The teachings described herein can be used with and applied to any autonomous equipment, including autonomous vehicles and other types of autonomous machines (e.g., heavy equipment such as bull dozers and cranes) that are configured to perform one or more tasks or operations in an automated manner, and substantially free of any human intervention. The machines may be used in various industries such manufacturing, mining, construction, medical applications, packaging, assembly, surveying, mapping technologies logistics, etc.

As depicted in FIG. 1A, in addition to autonomous vehicle management system 105, autonomous vehicle 100 may include or be coupled to sensors 110 and vehicle systems 115. Autonomous vehicle management system 105 may be communicatively coupled with sensors 110 and vehicle systems 115 via wired or wireless links. One or more different communication protocols may be used for facilitating communications between autonomous vehicle management system 105 and sensors 110 and between autonomous vehicle management system 105 and vehicle systems 115.

Vehicle systems 115 can include various electro-mechanical systems, components, linkages, etc. that enable autonomous vehicle 100 to perform its intended functions such as traveling or navigating along a particular path or course (e.g., navigating along a path over diverse off-road conditions). Vehicle systems 115 may include for example, a steering system, a throttle system, a braking system, a propulsion system, etc. for driving the autonomous vehicle, electrical systems, auxiliary systems (e.g., systems for outputting information to a driver or passenger of autonomous vehicle 100), and the like. Vehicle systems 115 can be used to set the path and speed of autonomous vehicle 100. In an autonomous vehicle that is configured to perform a specialized operation (e.g., a dump truck that is specialized to perform lift and dump operations, a tractor, etc.), the vehicle systems 115 may also include systems that are configured to perform such specialized operations.

Sensors 110 may be located on or in autonomous vehicle 100 (“onboard sensors”) or may even be located remotely (“remote sensors”) from autonomous vehicle 100. Autonomous vehicle management system 105 may be communicatively coupled with remote sensors via wireless links using a wireless communication protocol. Sensors 110 can obtain environmental information for autonomous vehicle 100 (e.g., sensors to capture real time data such as position/displacement of joy stick/accelerator, steering position/angle, position/displacement of brake, road elevation angle, air temperature, and humidity while the vehicle is in operation). This sensor data can then be fed to autonomous vehicle management system 105. FIG. 3 illustrates an example set of sensors 110 of an autonomous vehicle, including, without limitation, LIDAR (Light Detection and Ranging) sensors 302, radar 304, cameras 306 (different kinds of cameras with different sensing capabilities may be used), Global Positioning System (GPS) and Inertial Measurement Unit (IMU) sensors 308, Vehicle-to-everything (V2X) sensors 310, audio sensors, temperature and humidity sensors, and the like. Sensors 110 can obtain (e.g., sense, capture) environmental information for autonomous vehicle 100 and communicate the sensed or captured sensor data to autonomous vehicle management system 105 for processing. Other sensors may include proximity sensors, SONAR sensors, and other sensors.

Examples of radar sensors 304 (e.g., long range radar, short range radar, imaging radar etc.) may include sensors that are used to detect objects in the environment of autonomous vehicle 100 and to determine the velocities of the detected objects. Examples of LIDAR sensors 302 include sensors that use surveying techniques that measure distances to a target by using light in the form of a pulsed laser light. This is done by illuminating the target to be measured with pulsed laser light and measuring the reflected pulses using the sensor. Examples of V2X sensors include sensors that use V2X communication technology to communicate with moving parts of a traffic system. For example, autonomous vehicle 100 may use a V2X sensor for passing and/or receiving information from a vehicle to another entity around or near the autonomous vehicle. A V2X communication sensor/system may incorporate other more specific types of communication infrastructures such as V2I (Vehicle-to-Infrastructure), V2V (Vehicle-to-vehicle), V2P (Vehicle-to-Pedestrian), V2D (Vehicle-to-device), V2G (Vehicle-to-grid), and the like. An IMU sensor may be an electronic device that measures and reports a body's specific force, angular rate, and sometimes the magnetic field surrounding the body, using a combination of accelerometers, gyroscopes, magnetometers, etc. GPS sensors use a space-based satellite navigation system to determine geolocation and time information.

As will be described below, in certain embodiments, data obtained from different types of sensors or multiple instances of the same type of sensor may be combined or fused to form a three-dimensional (3D) representation of a path or road conditions or other objects of interest, from which representation one or more properties or features of the path/road or objects (e.g., the angle of incline, the material composition of the path/road, the path/road conditions such as snow covered, etc.) can be estimated. Various types of sensor combinations may be employed for the purpose of obtaining data for generating the 3D representation. Combining different sensor types has certain advantages. For example, cameras are capable of generating highly detailed images of the environment the path/road or objects are within it, whereas LIDAR and radar provide better depth perception. LIDAR is generally more accurate than radar when detecting stationary objects, whereas radar is more accurate at detecting moving objects.

Autonomous vehicle management system 105 (also referred to as a controller system) is configured to process data describing the state of autonomous vehicle 100 and the state of the autonomous vehicle's environment, and based upon the processing, control one or more autonomous functions or operations of autonomous vehicle 100. For example, autonomous vehicle management system 105 may issue instructions/commands to vehicle systems 115 to programmatically and autonomously control various aspects of the autonomous vehicle's motion such as the propulsion, braking, steering or navigation, and auxiliary behavior (e.g., turning lights on) functionality of autonomous vehicle 100. Autonomous vehicle management system 105 implements the control and planning algorithms that enable autonomous vehicle 100 to perform one or more operations autonomously.

Autonomous vehicle management system 105 may be implemented using software only, hardware only, or combinations thereof. The software may be stored on a non-transitory computer readable medium (e.g., on a memory device) and may be executed by one or more processors (e.g., by computer systems) to perform its functions. In the embodiment depicted in FIG. 1, autonomous vehicle management system 105 is shown as being in or on autonomous vehicle 100. This is however not intended to be limiting. In alternative embodiments, autonomous vehicle management system 105 can also be remote from autonomous vehicle 100.

Autonomous vehicle management system 105 receives sensor data from sensors 110 on a periodic or on-demand basis. Autonomous vehicle management system 105 uses the sensor data received from sensors 110 to perceive the autonomous vehicle's surroundings and environment (e.g., a current task context). Autonomous vehicle management system 105 uses the sensor data received from sensors 110 to generate and keep updated a digital model that encapsulates information about the state of autonomous vehicle and of the space and environment surrounding autonomous vehicle 100. This digital model may be referred to as an internal map, which encapsulates the current state of autonomous vehicle 100 and its environment including path/road conditions. The internal map along with other information is then used by autonomous vehicle management system 105 to make decisions regarding actions (e.g., navigation, braking, acceleration, scooping, dumping, etc.) to be performed by autonomous vehicle 100. Autonomous vehicle management system 105 may send instructions or commands to vehicle systems 115 to cause the actions be performed by the systems of vehicles systems 115.

As indicated above, autonomous vehicle management system 105 may be implemented using software only, hardware only, or combinations thereof. FIG. 1B depicts an example autonomous vehicle management system wherein autonomous vehicle management system 105 is implemented primarily in software, according to some embodiments. Autonomous vehicle management system 105 may be implemented as a fully autonomous vehicle software stack 120. Fully autonomous vehicle software stack 120 can include a vehicle safety manager 125, a remote interface manager 130, applications 135, middleware 140, and operating system 145. Fully autonomous vehicle software stack 120 may be used to implement the functionalities of the various systems and subsystems described above.

FIG. 2A is a simplified block diagram depicting subsystems of autonomous vehicle management system 105 according to certain embodiments. Autonomous vehicle management system 105 may comprise multiple systems or subsystems communicatively coupled to each other via one or more communication channels. In the embodiment depicted in FIG. 2A, the subsystems include a sensors interface subsystem 205, a localization subsystem 210, a perception subsystem 215, a planning subsystem 220, a controls subsystem 225, and an information subsystem 230.

Autonomous vehicle management system 105 embodiment depicted in FIG. 2A is merely an example and is not intended to unduly limit the scope of claimed embodiments. One of ordinary skill in the art would recognize many possible variations, alternatives, and modifications. For example, in some implementations, autonomous vehicle management system 200 may have more or fewer subsystems or components than those shown in FIG. 2A, may combine two or more subsystems, or may have a different configuration or arrangement of subsystems. The subsystems may be implemented using software only, hardware only, or combinations thereof. In the embodiment depicted in FIG. 2A, autonomous vehicle management system 105 and all its subsystems are shown as being in or on autonomous vehicle 100. This is however not intended to be limiting. In alternative embodiments, all the subsystems of autonomous vehicle management system 105 or certain subsystems of autonomous vehicle management system 105 can also be remote from autonomous vehicle 100.

Sensors interface subsystem 210 provides an interface that enables communications between sensors 110 (including on-board sensors and remote sensors) and autonomous vehicle management system 105. Sensors interface subsystem 210 may receive sensor data from sensors 110 and provide the data to one or more other subsystems of autonomous vehicle management system 105. For example, as depicted in FIG. 2A, sensor data may be provided to localization subsystem 210 and perception subsystem 215 for further processing. The sensor data collected by the various sensors 110 enables autonomous vehicle management system 105 to construct a view or picture of autonomous vehicle 100 and its surrounding environment including path/road conditions.

In certain embodiments, autonomous vehicle management system 105 enables one or more subsystems of autonomous vehicle management system 105 to send instructions or commands to one or more sensors 110 to control the operations of the one or more sensors. For example, instructions may be sent to a particular sensor to change the behavior of the particular sensor. For example, instructions may be sent to a sensor to change the information sensed or collected by the sensor and/or to change the sensor data communicated from the sensor to autonomous vehicle management system 122. Using these instructions, autonomous vehicle management system 122 can dynamically control the sensor data that is communicated from sensors 110 to autonomous vehicle management system 122. Further details on this are provided below in the context of functions performed by planning subsystem 206.

Localization subsystem 202 is configured to receive sensor data from sensors 110, and based upon the sensor data, identify the location of autonomous vehicle 120 in its surrounding environment (vehicle localization). Localization subsystem 202 provides current, local position information of the ego vehicle with respect to its environment (example: mine). The position of the ego vehicle 120 may be determined with respect to a pre-defined map that is generated by perception subsystem 204. In certain embodiments, localization subsystem 202 is configured to broadcast the ego vehicle's position information to other systems or subsystems of autonomous vehicle 120. The other systems or subsystems may then use the position information as needed for their own processing.

Localization subsystem 202 may implement various functions such as internal map management, map matching, visual odometry, dead reckoning, location history management, and the like. For example, assume that autonomous vehicle 120 is driving in a mine. Localization subsystem 202 may receive as input a map of the mine. A mine usually has a set path comprising drivable with varied terrain and non-drivable areas and a set road for mining vehicles to follow around a mine. Localization subsystem 210 may determine the position of the ego vehicle along the path. Localization subsystem 210 may do so by utilizing multiple inputs it receives from sensors and maps of the environment including path/road conditions. Localization subsystem 210 may use GPS sensor data to determine the global positioning of the ego vehicle. Localization subsystem 210 may receive the GPS sensor data and translate it to a more useful form that is usable by one or more other subsystems of autonomous vehicle management system 105. For example, information, localization subsystem 210 may identify where the ego vehicle is positioned with respect to a map of the environment, such as a mine map (also referred to as map management).

Localization subsystem 210 may also be configured to perform map matching, where what localization subsystem 210 perceives is matched with the information (e.g., ground truths) that localization subsystem 210 has previously acquired. Map matching can match recorded geographic coordinates to a logical model of the real world, (e.g., using a Geographic Information System (GPS), etc.). In one example, a map matching algorithm can obtain a recorded, serial location points (e.g. from GPS) and relate them to edges in an existing street graph (e.g., as a network). This can be in a sorted list representing the travel of an autonomous vehicle. As part of map matching, localization subsystem 210 is tracking the ego vehicle in its environment and deducing its position based on what localization subsystem 210 sees relative to a map, such as a real world map.

Localization subsystem 210 is also configured to perform visual odometry, which involves determining the orientation and position of the ego vehicle based upon sensor data, such as by analyzing images captured by one or more cameras.

Localization subsystem 210 may also perform dead reckoning processing. Dead reckoning is the process of calculating one's current position by using a previously determined position, or fix, and advancing that position based upon known or estimated speeds over elapsed time and course. This may involve calculating the ego vehicle's position by estimating the direction and distance travelled. For example, autonomous vehicle management system 105 receives and knows certain information about autonomous vehicle 100 such as its wheel speed, steering angle, where autonomous vehicle 100 was a second ago, and the like. Based on the past position information and in combination with speed/steering angle etc., localization subsystem 210 can determine the vehicle's next location or current location. This provides local understanding of the ego vehicle's position as it moves on its path. A path can be a road, highway, rail system, runway, boat route, bike path, etc., according to various embodiments.

Localization subsystem 210 may also perform local history management tracking, where historical information about the ego vehicle's path is analyzed and compared to the current path. For example, if autonomous vehicle 210 drives around a certain path in a mine many number of times, this information can be compared and analyzed by localization subsystem 210.

Localization subsystem 210 may also implement a consistency module that is configured to perform rationality checks, deficiency checks, normalize sensor data, etc. For example, localization subsystem 210 may receive information from different sources of information regarding the ego vehicle's position, location, etc. A rationality check may be used to do a validity check to make sure information from various sensors is consistent and robust. This helps reduce erroneous results. The rationality check can include tests to evaluate whether a sensor data value and/or the result of a calculation can possibly be true. The sensor data received from sensors 110 can also be normalized and the normalized sensor data then provided to localization subsystem 210. Localization subsystem 210 can then utilize the normalized sensor data to generate and/or update the consistent internal map of the real-time (e.g., assuming networking and processing latencies, etc.) environment of the autonomous vehicle.

Perception subsystem 215, periodically or on-demand, receives sensor data from sensors 110 and builds and maintains a consistent internal map based upon the received information. Perception subsystem 215 may also receive inputs from other sources, such as from localization subsystem 210, and use the received inputs to build and maintain the internal map. The internal map generated by perception subsystem 215 contains all the information including the ego vehicle's information, state of the ego vehicle and its environment, information about the path or road conditions, information about objects in the ego vehicle's environment (e.g., information regarding dynamic and static objects around ego vehicle). Consistent internal map can be a localized map of sensed entities/objects in the autonomous vehicle's environment, for example, around the autonomous vehicle. In certain embodiments, these sensed entities/objects are mapped in three dimensions (3D). In certain embodiments, perception subsystem 215 receives position information from localization subsystem 210 and incorporates the position information in the internal map. The internal map can be maintained even in the event that a sensor falls offline.

Rationality checks and normalization may be performed on the sensor data received by perception subsystem 215. These checks can include tests to evaluate whether a sensor data value and/or the result of a calculation can possibly be true. The sensor data received from sensors 110 can also be normalized and the normalized sensor data then provided to perception subsystem 215. Perception subsystem 215 can then utilize the normalized sensor data to generate and/or update the consistent internal map of the real-time environment of the autonomous vehicle.

Perception subsystem 215 may use various different algorithms and techniques to perform its functions, including artificial intelligence (AI) and machine learning based techniques. For example, perception subsystem 215 may use a convolutional neural network (CNN) to perform object detection and object classification based upon the sensor data. During a training phase, the CNN may be trained using labeled training data comprising sample images of a vehicle's environment and corresponding ground truth classifications. Labeled data generally includes a group of samples that have been tagged with one or more labels, where the labels represent known results (e.g., ground truth classification, etc.) for the training input samples. Labeling can also be used to take a set of unlabeled data and augment each piece of that unlabeled data with meaningful tags that are informative. A CNN model or other AI/machine learning model built based upon training may then be used in real time to identify and classify objects in the environment of autonomous vehicle 100 based upon new sensor data received from sensors 110.

Planning subsystem 220 is configured to generate a plan of action for autonomous vehicle 100 to complete one or more given tasks and subtasks. As discussed in detail herein, the plan of action may be generated in accordance with a task hierarchy comprising the one or more given tasks and subtasks. The plan may comprise one or more planned actions or operations to be performed by autonomous vehicle 100 to complete one or more subtasks and/or tasks. For example, the plan may comprise information identifying a trajectory or path to be traversed by autonomous vehicle 100. A path can be a road, highway, rail system, runway, boat route, bike path, etc., according to various embodiments. For example, the trajectory information may indicate how the vehicle should move from point A to point B with a list of points between point A point B marking a trajectory for the vehicle to follow from point A to point B. As another example, the plan generated by planning subsystem 220 may include planned actions with respect to accessories of autonomous vehicle 100, such as turning indicators or lights on or off, producing one or more sounds (e.g., alarms), and the like. In situations where autonomous vehicle 100 has specialized components that are customized to perform specialized operations, the plan generated by planning subsystem 220 may also include planned actions to be performed by one or more of these specialized components. For example, if the autonomous vehicle is a digging truck with a bucket and arm assembly for performing the digging and moving of materials, the plan generated by planning subsystem 220 can include actions to be performed by the bucket and arm assembly for performing the digging. For example, the plan may include an angle at which the arm should be raised and or the angle of the bucket with respect to the arm. After a plan of action has been generated, planning subsystem 220 may communicate the plan of action to controls subsystem 225, which may then control one or more systems of vehicle systems 115 to cause the planned actions in the plan of action to be performed in a safe manner by autonomous vehicle 100.

In addition to the internal map generated by perception subsystem 215, planning subsystem 220 may also receive various other inputs that it uses in generating the plan of action for autonomous vehicle 100. These inputs may include, without limitation: (a) Position or localization information received from localization subsystem 210. (b) Information identifying one or more tasks of autonomous vehicle 100 (e.g., information may be received identifying a final task of autonomous vehicle 100 to make a right turn). The task may be set by an end user or operator of the autonomous vehicle or machine. For an automotive example, the user may set a high level to drive from the current location of autonomous vehicle 100 to a particular final destination. Autonomous vehicle 100 may determine a GPS route plan based upon the current and final destination locations and with a task to autonomously drive from the current location to the final destination according to the GPS route plan. In a mining environment example, a high level task set by an operator may be to move ten tons of material (e.g., sand, coal, etc.) from point A over various terrain and dump the material at point B. In general, one or more different tasks may be provided. Examples of categories of tasks (some of which may overlap) include, without limitation: tasks related to performing an autonomous operation by the autonomous vehicle (e.g., autonomous driving or navigation along a path, scooping and dumping operations, moving materials or objects, lifting materials, driving, rolling, spreading dirt, excavating, transporting materials or objects from one point to another point, etc.), tasks related to maneuvering the vehicle taking into consideration terrain or path conditions, tasks related to interaction of the vehicle with various actors, objects, etc. in the vehicle's environment, tasks related to the general operations of the vehicles, and the like. Examples of tasks: changing lanes, driving from one location to another location, driving to a destination as fast as possible, making a turn, performing a series of steps in a sequence, and others. (c) High level route information regarding the path or route to be taken by autonomous vehicle 100. This may be provided directly or indirectly by an end user or operator of the autonomous vehicle. (d) Information identifying safety considerations. These may also be provided to the autonomous vehicle by an end user/operator, etc. using APIs provided by autonomous vehicle 100 or via metadata configured for autonomous vehicle 100. Examples of these considerations include, without limitation: always stay within the lane, maintain certain distance from any object at all time, a dump truck is not to make more than a 30 degree turn, a loader B is not to climb over a predetermined grade more than 15 degrees, etc. (e) Information about how a particular operation was performed in the past. For example, for a particular autonomous vehicle, this could be the past history of how that particular autonomous vehicle performed the operation in the past, how a different autonomous vehicle performed the operation in the past, how the operation was manually performed using a vehicle in the past (e.g., how a driver/operator performed the operation in the past with the vehicle operating under the driver/operator's control). For example, the autonomous vehicle traveled a path in the past, how a manual truck would have driven this path or completed a certain task, and the like. (f) Other inputs.

Based upon the one or more inputs, planning subsystem 220 generates a plan of action for autonomous vehicle 100. Planning subsystem 220 may update the plan on a periodic basis as the environment of autonomous vehicle 120 changes (e.g., as the conditions of the path or road change), as the tasks to be performed by autonomous vehicle 100 change, or in general, responsive to changes in any of the inputs to planning subsystem 220.

As part of generating and updating the plan of action, planning subsystem 220 makes various decisions regarding which actions to include in the plan in order to achieve a particular task or subtask in a safe manner. Processing performed by planning subsystem 220 as part of making these decisions may include behavior planning, global planning, path planning, fail-safe path, path history tracking, etc.

Planning subsystem 220 may use various AI-based machine-learning algorithms to generate and update the plan of action in order to achieve the task of performing a function or operation (e.g., autonomous driving or navigation, digging of an area) to be performed by autonomous vehicle 100 in a safe manner. For example, in certain embodiments, planning subsystem 220 may use a model trained using reinforcement learning (RL) for generating and updating the plan of action. Autonomous vehicle management system 105 may use an RL model to select actions to be performed for controlling an autonomous operation of autonomous vehicle 100. The RL model may be periodically updated to increase its coverage and accuracy. Reinforcement learning (RL) is an area of machine learning inspired by behaviorist psychology, concerned with how agents ought to take actions in an environment so as to maximize some notion of cumulative reward.

In certain embodiments, in addition to generating a plan of action, planning subsystem 220 is capable of dynamically controlling the behavior of sensors 110. For example, planning subsystem 220 can send instructions or commands to a particular sensor from sensors 110 to dynamically control the sensor data that is captured by the particular sensor and/or control the sensor data that is communicated from the sensor to perception subsystem 215 (or to other subsystems of autonomous vehicle management system 105, such as to localization subsystem 210). Since the internal map built by perception subsystem 215 is based upon the sensor data received by perception subsystem 215 from the sensors, by being able to dynamically control the sensor data received from the sensors, the information included in and/or used by perception subsystem 215 to build and maintain the internal map can also be dynamically controlled by planning subsystem 220. Planning subsystem 220 can dynamically and on-demand direct sensors 110 to obtain specific types of information or behave in specified manners, for example, to provide additional sensor data to update the consistent internal map. For example, planning subsystem 220 can command a LIDAR sensor to narrow its range of sensing from a three-hundred and sixty-degree (360°) view to a narrower range that includes a specific object to be sensed and/or tracked in greater detail by the LIDAR system. In this way, the consistent internal map is updated based on feedback from and under the control of planning subsystem 220.

Autonomous vehicle management system 105 provides an infrastructure that enables planning subsystem 220 (or other subsystems of autonomous vehicle management system 105) to send one or more instructions or commands to one or more sensors to control the behavior of those one or more sensors. In the embodiment depicted in FIG. 2A, sensors interface subsystem 205 provides an interface for interacting with sensors 110. In the outbound direction (from autonomous vehicle management system 105 to the sensors direction), planning subsystem 220 can send an instruction or command to sensors interface subsystem 205. Sensors interface subsystem 205 is then configured to communicate the received instruction to the intended destination sensor. In the inbound direction (from a sensor to autonomous vehicle management system 105), sensors interface subsystem 205 may receive sensor data from a sensor in response to the instruction sent from planning subsystem 220. Sensors interface subsystem 210 may then communicate the received sensor data to planning subsystem 220 (or to the appropriate subsystem of autonomous vehicle management system 105 which originated the instruction).

Sensors interface subsystem 205 may be capable of communicating with different sensors using one or more different communication protocols. In certain embodiments, in the outbound direction, for an instruction or command received from planning subsystem 220 (or from any other subsystem of autonomous vehicle management system 105) and to be sent to a particular sensor, sensors interface subsystem 205 may translate the instruction to a format that is understandable by and appropriate for communicating with that particular sensor and then use a particular communication protocol that is applicable for that particular sensor.

In certain embodiments, autonomous vehicle management system 105 may have access to information identifying sensors 110 and their capabilities. The subsystems of autonomous vehicle management system 105 may then access and use this stored information to determine the possible capabilities and behaviors of a sensor and to send instructions to that sensor to change its behavior. In certain embodiments, a sensor has to be registered with autonomous vehicle management system 105 before communications are enabled between the sensor and autonomous vehicle management system 105. As part of the registration process, for a sensor being registered, information related to the sensor may be provided. This information may include information identifying the sensor, the sensor's sensing capabilities and behaviors, communication protocol(s) usable by the sensor, and other information related to the sensor. Autonomous vehicle management system 105 may then use this information to communicate with and control the behavior of the sensor.

As indicated above, planning subsystem 220 may send instructions to a sensor to control and change the sensor's behavior. Changes in a sensor's behavior can include changing the sensor data that is communicated from the sensor to autonomous vehicle management system 105 (e.g. the sensor data communicated from the sensor to perception subsystem 215, or other subsystems of autonomous vehicle management system 105), changing the data that is collected or sensed by the sensor, or combinations thereof. For example, changing the sensor data that is communicated from the sensor to autonomous vehicle management system 105 can include communicating more or less data than what was communicated from the sensor to autonomous vehicle management system 105 prior to receiving the instruction, and/or changing the type of sensor data that is communicated from the sensor to autonomous vehicle management system 105. In some instances, the data sensed or collected by the sensor may remain the same but the sensor data communicated from the sensor to autonomous vehicle management system 105 may change. In other instances, the data sensed or collected by the sensor may itself be changed in response to an instruction received from autonomous vehicle management system 105. Planning subsystem 220 may also be able to turn a sensor on or off by sending appropriate instructions to the sensor.

For example, planning subsystem 220 may receive inputs including a current internal map generated by perception subsystem 215, position information from localization subsystem 210, and a task that autonomous vehicle 100 is to make a turn in a certain amount of time (e.g., a right turn in the next 5 seconds). As part of deciding what is the best set of actions to be taken by autonomous vehicle 100 to achieve the task in a safe manner, planning subsystem 220 may determine that it needs particular sensor data (e.g., additional images) showing path or road conditions and the environment on the right side of autonomous vehicle 100. Planning subsystem 220 may then determine the one or more sensors (e.g., cameras) that are capable of providing the particular sensor data (e.g., images of the environment on the right side of autonomous vehicle 100). Planning subsystem 220 may then send instructions to these one or more sensors to cause them to change their behavior such that the one or more sensors capture and communicate the particular sensor data to autonomous vehicle management system 105 (e.g., to perception subsystem 215). Perception subsystem 215 may use this specific sensor data to update the internal map. The updated internal map may then be used by planning subsystem 220 to make decisions regarding the appropriate actions to be included in the plan of action for autonomous vehicle 100. After the right turn has been successfully made by autonomous vehicle 100, planning subsystem 220 may send another instruction instructing the same camera(s) to go back to communicating a different, possibly reduced, level of sensor data to autonomous vehicle management system 105. In this manner, the sensor data that is used to build the internal map can be dynamically changed.

Examples of changes in a sensor's behavior caused by an instruction received by the sensor from autonomous vehicle management system 105 may include, without limitation: causing a sensor to reduce, or even shut off, sensor data that is communicated from the sensor to autonomous vehicle management system 105. This may be done, for example, to reduce the high volume of sensor data received by autonomous vehicle management system 105. Using the same example from above, where planning subsystem 220 receives an input indicating that a task of the autonomous vehicle 100 is to make a right turn, planning subsystem 220 may decide that it requires reduced sensor data with respect to the left environment of autonomous vehicle 100. Planning subsystem 220 may then determine the one or more sensors (e.g., cameras) that are responsible for communicating the sensor data that is to be reduced. Planning subsystem 220 may then send instructions to these one or more sensors to cause them to change their behavior such that the amount of sensor data communicated from these sensors to autonomous vehicle management system 105 (e.g., to perception subsystem 215) is reduced. As an example, the instructions sent from the planning subsystem 220 may do one or more of the following: (i) cause a sensor to change its field of view. For example, causing a camera or a LIDAR sensor to zoom in to a narrow location, (ii) cause a sensor to only send partial information. For example, the sensor may send less than all the information captured by the sensor, (iii) cause a sensor to send information faster or slower than before or than a regular rate, (iv) cause a sensor to turn on, or (v) cause a sensor to capture and/or send information to autonomous vehicle management system 122 at a different resolution or granularity then before.

As indicated above, planning subsystem 220 may send the plan of action or instructions for executing the plan of action to controls subsystem 225. The controls subsystem 225 may issue instructions/commands to vehicle systems 115 to programmatically and autonomously control various aspects of the autonomous vehicle's motion such as the propulsion, braking, steering or navigation, and auxiliary behavior (e.g., turning lights on) functionality of autonomous vehicle 100. The controls subsystem 225 implements the control and planning algorithms that enable autonomous vehicle 100 to perform one or more operations defined in the plan of action autonomously. In some instances, the controls subsystem 225 utilizes a stability control subsystem 235 to estimate kinematics and dynamic behavior of the autonomous vehicle 100 to improve (e.g., avoid instability) various actions or tasks such as navigation, digging, and material carrying in various work-site environments (e.g., in diverse off-road conditions). The stability control subsystem 235 may utilize predictive modeling to estimate kinematics and dynamic behavior of the autonomous vehicle 100 in the various work-site environments. The estimated kinematic and dynamic behavior of the autonomous vehicle 100 is then used to instruct the vehicle systems 115 on how to control (e.g., accelerate, steer, brake, etc.) the autonomous vehicle 100 to complete a plan of actions or task while avoiding instability in a work-site environment.

In some instances, the autonomous vehicle 100 may be first operated manually or remote control within a work-site environment for a predetermined amount of time (e.g., 20-30 minutes) to collect data from the sensor 110 pertaining to the work-site environment. Thereafter, in a training process (online or offline), one or more predictive models may be trained and fit using the collected data (e.g., input and actual performance of the vehicle within the work-site environment). Once the predictive model training and fitting is tested and/or validated, the trained predictive models may be deployed within libraries for vehicle control in full autonomous operations within a work-site environment. The trained predictive models may be stored in libraries within the information subsystem 230 for use by the planning subsystem 220 and controls subsystem 225 for vehicle control. Thereafter, the autonomous vehicle 100 may be deployed within the work-site environment for full autonomous operations. During the autonomous operations (e.g., completion of tasks from planning subsystem 220), the trained predictive models may be continuously updated on real time basis to continually improve control and avoid instability.

In other instances, the autonomous vehicle 100 may be loaded with one or more baseline models fitted on data collected on an environment similar to the actual operational site (e.g., the work-site environment). The baseline models may be stored in libraries of the information subsystem 230 for use by the controls subsystem 225 for vehicle control. Initially, the autonomous vehicle 100 is operated in autonomous mode in a safe zone of the work-site environment using the baseline models prior to full deployment. Data is collected (e.g., input and actual performance of the vehicle within the work-site environment) by the sensors 110 during the safe zone operation and used to update the baseline models on a real time basis during the safe zone operation. As such, the baseline models now become trained on actual conditions of the work-site environment. The trained predictive models may be updated and/or stored in the libraries of the information subsystem 230 for use by the planning subsystem 220 and controls subsystem 225 for vehicle control. Thereafter, the autonomous vehicle 100 may be deployed within the work-site environment for full autonomous operations. During the autonomous operations (e.g., completion of tasks from planning subsystem 220), the trained predictive models are continuously updated on real time basis to continually improve control and avoid instability.

Using the same example from above, where planning subsystem 220 receives an input indicating that a task of the autonomous vehicle 100 is to make a right turn, planning subsystem 220 may obtain real time data (e.g., position of the joy stick control or other controls such as accelerator, steering angle, brakes etc. and other situational and environment related variables) from the sensors 110 while the vehicle is in operation, and the stability control subsystem 235 may use that real time data to estimate kinematics and dynamic behavior of the autonomous vehicle 100 in a given or determined work-site environment based on the trained predictive models for the given or determined work-site environment. The planning subsystem 220 and controls subsystem 225 may use predictive models and the estimated kinematics and dynamic behavior of the autonomous vehicle 100 to generate commands or instructions for the vehicle systems 115 to operate the autonomous vehicle in a manner specific to execute the right turn in the work-site environment while avoiding instability (e.g., toppling over or skidding out of the turn). As should be understood, different trained predictive models may be used for controlling and estimating kinematics and dynamic behavior of the autonomous vehicle 100 depending on the type of autonomous vehicle being operated and/or the work-site environment.

One or more embodiments described herein can be implemented using programmatic modules, engines, or components. A programmatic module, engine, or component can include a program, a sub-routine, a portion of a program, or a software component or a hardware component capable of performing one or more stated tasks or functions. As used herein, a module or component can exist on a hardware component independently of other modules or components. Alternatively, a module or component can be a shared element or process of other modules, programs or machines. FIG. 2B illustrates modules, engines, or components (e.g., program, code, or instructions executable by one or more processors of autonomous vehicle 100) that may be used to implement the various subsystems of autonomous vehicle management system 105 according to certain embodiments. The modules, engines, or components may be stored on a non-transitory computer medium. As needed, one or more of the modules, engines, or components may be loaded into system memory (e.g., RAM) and executed by one or more processors of autonomous vehicle 100. In the example depicted in FIG. 2B, modules, engines, or components are shown for implementing localization subsystem 210, perception subsystem 215, planning subsystem 220, and controls subsystem 225.

FIG. 4 illustrates an exemplary task hierarchy 400 that may be used to generate and execute a plan of action for controlling an autonomous vehicle (as described with respect to planning subsystem 220, the controls subsystem 225, and FIG. 2A). As depicted in FIG. 4, a first task (Task (1) for example—move a material pile from a first location to a second location at job site alpha using an excavator) may be broken down into five subtasks (Subtasks (a), (b), (c), (d), and (e)) in a task hierarchy. For example, subtask (a) may be to pick up a portion of the material pile at the first location. Subtask (a) may be further broken down into its own subtasks: subtask (b) approach the material pile at the first location, and subtask (c) use the bucket to pick up a portion of the material pile. Subtask (d) may be to drive the excavator from the first location to the second location. Subtask (e) may be to dump the portion of the material pile at the second location. Each subtask (b), (c), (d), and (e) has one or more variables associated with it that combined account for the task context associated with each subtask (a), (b), (c), (d), and (e) (e.g., variables (i), (ii), and (iii) combined account for the task context associated with subtask (a) and (b)). Example variables may be angle of approach, slope of the road, environmental conditions, site information such as obstructions, shape of the material pile, type of the material, and the like.

As depicted in FIG. 4, each library (Library (I), (II), (III), and (IV)) of various predictive models (Models (A), (B), (C), (D), (E), (F), (G), (H), (I)) is associated with each subtask (b), (c), (d), and (e). For each combination of subtask and task context there is a predictive model best matched (i.e., trained/learned based on features or variables consistent with the task context) for performing the subtask given the current task context. For example, consider variables (i), (ii), and (iii) are directed to material pile shape, approach angle, and site environmental conditions, respectively. Model (A) may be trained/learned based on training data having features or variables consistent with a conical shaped material pile, an approach angle of less than a 45°, and dry conditions; whereas model (B) may be trained/learned based on training data having features or variables consistent with a conical shaped material pile, an approach angle of less than a 15°, and wet conditions, and whereas model (C) may be trained/learned based on training data having features or variables consistent with a box shaped material pile, an approach angle of less than a 15°, and dry conditions.

The task hierarchy 400 for the tasks and subtasks is premapped (e.g., created by a user or administrator). The controller system of the autonomous vehicle assigned a Task (1) can determine, from the premapping, all of the Subtasks (a), (b), (c), (d), and (e)) required for completing the Task (1). Moreover, the controller system can create, from the premapping and the determined subtasks, a plan of action for controlling the autonomous vehicle. Creating the plan of action may include, for or each subtask to be performed, the controller system obtains information from sensors (e.g., images of job site, steering angle of vehicle, slope of road, weather, name of job site, etc.) and determines the current task context associated with a subtask (e.g., for subtask (b) the controller system may determine the excavator is approaching a conical shaped material pile at an angle of 5° in wet conditions). The controller system identifies a library of predictive models associated with each subtask (e.g., library (I) for subtask (b)), and identifies one or more predictive models (e.g., model (B)) from the identified library (e.g., library (I)) based on the determined current task context. Thus, for each combination of subtask and task context there is a predictive model best matched (i.e., trained/learned based on features or variables consistent with the task context) for performing the subtask given the current task context. The controller system uses the identified one or more predictive models to generate and update the plan of action in order to achieve each of subtasks (a), (b), (c), (d), and (e) And ultimately task (1). For example, in certain embodiments, controller system may use one or more models trained using RL for select actions to be performed for controlling the autonomous operation of the autonomous vehicle and updating the plan of action accordingly. The one or more RL models may be periodically updated to increase their coverage (e.g., scope of task context) and accuracy.

FIG. 5 shows a block diagram illustrating aspects of a machine-learning modeling system 500 for generating and executing a plan of action for controlling an autonomous vehicle. As shown in FIG. 5, the predictions performed by the machine-learning modeling system 500 in this example include several stages: a predictive model training stage 505, an action prediction stage 510, and a predictive model update stage 515. The predictive model training stage 505 builds and trains one or more predictive models 520 a-520 n (‘n’ represents any natural number) to be used by the other stages (which may be referred to herein individually as a predictive model 520 or collectively as the predictive models 520). For example, the predictive models 520 can include one or more reinforcement learning (RL) predictive models for controlling an autonomous vehicle in various work-site environments applicable to various industries such as, construction, mining, manufacturing, warehousing, logistics, sorting, packaging, agriculture etc. The reinforcement learning enables the autonomous equipment to learn sequential decision-making tasks.

Consider an embodiment comprising material spread lightly over a large area, where the material would need to be scooped by an autonomous equipment, such as a skid steer loader, an excavator, a track hoe, a compact track loader, a wheel loader, backhoe, dozer, a loader, a scraping equipment etc. In the case of scooping the material using any such equipment, scooping actions would need longer scooping movements, more number of scooping times, or might need straight bucket down movements followed by a lift bucket which could be more effective. In further embodiments involving taller piles of dirt, very short scooping actions could efficiently fill the bucket. In this example, the input state space P(s_(t)) may be comprised of: (i) a machine position with respect to a fixed position in the scene, (ii) a LiDAR/3D point cloud data (e.g., large data sets composed of 3D point data) from a fixed location of the segmented dirt pile, (iii) an image/LiDAR point cloud data on the bucket position, (iv) a bucket filled or not along with level of filled on the bucket information extracted from the image/LiDAR point cloud data, (v) an angular joint position of the bucket during the task and wherein, the angular position could be a relative angle of the arm to that of the bucket or it could be an absolute angle with respect to a known pose of a base frame, and/or information of dirt getting spilled on the ground or path while being scooped or transported.

Based upon the input state space, an action recommendation from a RL predictive model, possibly executed by the equipment, is given by action sequence (also known as policy), π(a_(t)|s_(t)), where an action/actions comprise movement commands to the moving controller module, bucket level commands to the bucket/arm controller, and the like. In this instance, scooping reward function, r(a_(t), s_(t)) is potential/energy based function which increases with scooped site reducing its size, i.e. lesser the amount of material left to be scooped the higher will be the reward. The time taken in this episode to finish is negatively rewarded so that the RL predictive model would learn to scoop the dirt in the lowest or least number of steps to complete the task.

In some embodiments, training of the RL predictive model may be accomplished using a simulator in a simulated environment. The simulator comprising a simulated environment, and the real system comprising a real, physical environment, use the same kinematics and image data, simulated segmented image data and camera image that pass-through image segmentation modules. The simulated environment may be built in such a way that the environment comprises a large range and/or degree of variables for various parameters in order to offer a range of learning sets and instances. The RL predictive model may be trained using simulation in the predictive model training stage 505. The simulation may be built to speed up the runs or episodes, typically speeds of ×100 to ×300 times are needed for large machine simulations. This may be decided based on the sample efficiency of the model, for example in proximal policy optimization based methods. In some embodiments a non-parametric probabilistic Gaussian processes (GP) based model is used to reduce the sample efficiency, since it can be very expensive to refine the RL predictive model on the actual device.

Model uncertainty is an effect which may cause the training of the RL predictive model to fail in the simulated environment. However, this effect may be circumvented or mitigated by some domain randomization methods. Accordingly, in some embodiments, the RL predictive model is further trained using domain randomization. Domain randomization facilitates the training of the RL predictive model by allowing it to interact with the environment and adapt to the changing environment comprising unknown real-world dynamics. A further improvement in training can be performed using meta reinforcement learning where the sample efficiency is very high. Also, the simulated environment is built in such a way that it does not necessarily completely match a real world environment, however it works with domain randomizations where certain necessary elements, properties relevant to the task/agent/environment, or parameters of the environment are randomized. This allows the agent or the equipment to learn a number of ways, and navigate through a number of variables to perform the task and complete it successfully. This also allows the agent i.e. the autonomous equipment to deal with unknown variables, parameters and/or dynamics in the real world and perform the task with success.

The advantage of employing this method is associated with the algorithms used for this method being further advanced as compared to conventional RL or machine learning algorithms, which can only handle a very small amount of variation in its environment's parameters, variables or elements. Domain randomizing is important in physical machines where the actuators, controller and sensors and sensor placements are at constant changes due to harsh environment. Further, such a training method when applied to a complex task such as in a mining, construction, agriculture, warehouse etc. environment offers to solve a range of challenges associated with safety, productivity, and equipment effectiveness in these environments. Further, such a training method could be used in training an entire fleet of equipment that need to work on various tasks in these environments. Further, such a training method could be used in training an entire fleet of equipment that need to work in coordination with other equipment, infrastructure or human operators on various tasks in these environments.

In another embodiment, an autonomous equipment may perform the task of dumping of the material from and to a site. Further examples of dumping include orchestrated dumping of material wherein material is dumped in an orderly manner, as per set requirements. Another example of dumping includes edge dumping wherein the autonomous equipment approaches the edge of a berm and dumps material, as required. The task of dumping material using conventional programming or pre-programming is complex and inefficient, particularly due to the various variables associated with the nature of the task. Once the material has been dumped, the shape of the dumping ground changes. For example, adding more material to an existing pile of dirt on the ground alters the shape dynamics of the pile of dirt. The pile of dirt could grow taller or spread wider on the ground or could simply distribute itself unevenly on the ground. Further on, the next time the machine dumps the material it needs to move accordingly taking into consideration the spread, height, and breadth of materials. For example, the reward function of the RL predictive model may be set proportional to the profile of the desired dump. If the desired shape is a cone, any dumping which is done not supporting this would be negatively rewarded.

In yet another embodiment, a task may comprise spreading of material over an area using an autonomous equipment for example, such as those mentioned above. This task could comprise spreading the material evenly or as per a required gradient along the area. A further example of this embodiment includes the task of compacting material spread over an area. This could include compacting the material to a desired thickness, density or to a desired gradient thickness with a variety of tilt profiles. The training of the RL predictive model can be carried out using a simulator by providing a simulated environment. Therefore, domain randomization could be conducted where, the domain of the simulated environment is changed with a range of variables for different parameters in order to account for variability in the product. This allows the agent or the autonomous equipment to undergo many training sets, such as those with training image segmentations with synthetic data and domain randomizations to support taking simulation to real environment. Use of segmented image for training the RL predictive model have been known to be previously conducted. Interpreting and representing visual inputs to perform actions and interact with objects, however, are challenging for robots in unstructured environments as colored images are typically complex and noisy.

Further, domain randomizations could also be carried out to generate large amount of training data in order to support different configurations. Material properties may be simulated via material stickiness, types of material in a pile, different shapes of material in a pile, weight, density, particle size, variation in particle size, viscosity and more particle properties. Kinematics based models such as, those with high level dynamics, non-contact or smoothed contact dynamics are used for modeling states. Dirt is further modelled with many random shaped particles and further properties, in order to provide degrees of variability in simulation.

In another embodiment, the autonomous equipment may perform the task of drilling or digging material such as, dirt etc. a site. The task of digging or drilling using conventional programming or pre-programming is complex and inefficient, particularly due to the various variables associated with the nature of the task. Additionally, the task of drilling and digging involves the autonomous equipment coming into contact with a variety of soil or material viscosities, densities etc. Once the material has been dug or drilled out from the ground, the shape of the ground changes. Therefore, the next time the autonomous equipment approaches the material at this site it needs to move accordingly taking into consideration the spread, height, and breadth of materials. For example, the reward function of the RL predictive model may be set proportional to the profile of the desired dug-out. If the desired shape is a trench, open pit or semi-spherical pit etc., any drilling or digging which is done not supporting this would be negatively rewarded.

In various embodiments, to train the various predictive models 520 in these embodiments and examples, initially a GP prior distribution 525 is generated, which may be specified using a mean function and covariance matrix. More specifically, a GP is similar to an infinite-dimensional multivariate Gaussian distribution, where any collection of the labels 560 of the training samples 540 are joint Gaussian distributed. Within this GP prior distribution 525, prior knowledge may be incorporated about a predefined function space 530 (constraints placed on the possible functions to reduce complexity) through the selection of the mean function and the covariance matrix. The covariance matrix ensures that values that are close together in input space will produce output values that are close together. The training samples 540 are comprised of inputs or observations (independent variables x) and their outputs or labels (dependent variables y) 560, and the training samples 540 may be split into training, testing, and/or validation subsets. For example, the training samples 540 for each predictive model 520 may include sensor data including data collected pertaining to operation of an autonomous vehicle in the simulation or a work-site environment. As described herein the training samples include features or variables consistent with a task context of a task or subtask being performed. For example, for a predictive model 520 to be utilized to predict one or more actions for an autonomous vehicle, the observations may include real time data such as position/displacement of joy stick/accelerator, steering position/angle, position/displacement of brake, road elevation angle, air temperature, and humidity while the vehicle is in operation, and the labels 560 may include operating information such as yaw rate, wheel speed, steering angles, linear velocity and angular velocity of the autonomous vehicle in the work-site environment achieved as a result of the observations for control of the autonomous vehicle. From the GP prior distribution 525, a collection of training points and/or test points are joint multivariate Gaussian distributed within a covariance matrix with entries that correspond to the covariance matrix evaluated at the observations (independent variables x). In some instances, distributed Gaussian noise may be incorporated independently to the labels (dependent variables y) 560 by summing the label distribution and noise distribution.

The form of the mean function and covariance matrix in the GP defining the prior distribution 525 may be chosen and tuned during model selection. In some instances, the mean function may be constant, either zero or the mean of the training samples 540. There are a number options for the covariance matrix: in certain instances the covariance matrix can have many forms as long as it follows the properties of a kernel (i.e., semi-positive definite and symmetric). Some covariance matrix include constant, linear, square exponential and Matern kernel, as well as a composition of multiple kernels. For example, a kernel may be the composition of the constant kernel with the radial basis function (RBF) kernel, which encodes for smoothness of functions (e.g., similarity of inputs in space corresponds to the similarity of outputs). After specifying the covariance matrix, other choices can be specified for the predictive models 520. For example, an alpha parameter may be defined as the variance of the distributed Gaussian noise on the labels 560, and a normalize parameter may be defined that refers to the constant mean function—either zero if False or the training data mean if True.

Once the mean function and the covariance matrix are identified for the prior distribution 525, the predictive models 520 may be fit with the training samples 540, tested (including optimization of hyperparameters), validated, and ultimately used to calculate the posterior distribution 535 from the prior distribution 525. Although the training mechanisms described herein mainly focus on training a predictive model 520, these training mechanisms can also be utilized to fine tune or update existing predictive models 520 trained from other datasets (e.g., data sets from work-site environments with similar conditions). For example, in some cases, a predictive model 520 might have been pre-trained using pre-existing train data from simulations or work-site environments with similar conditions. In those cases, the predictive models 520 can be retrained using the training samples 540 containing observations and labels as discussed herein.

The predictive model training stage 505 outputs trained predictive models 520 including trained action models 555. The trained action models 555 may be assigned to one or more libraries associated with one or more subtasks or task. In some instances, the trained action models 555 include data (e.g., metadata) that identifies the features or variables consistent with the task context upon which the models 555 were trained (e.g., position/displacement of joy stick/accelerator, steering position/angle, position/displacement of brake, road elevation angle, air temperature, and humidity). The trained action models 555 are used in the action prediction stage 510 to generate action predictions such as generate kinematics and dynamic behavior predictions for outputs (y) 540 based on the posterior distribution 535 or an updated posterior distribution 545, and new observations (x) 565. For example, for skid-steer prediction and control, the new observations 560 may include the position of the joy stick control or other controls e.g., accelerator, steering angle, brakes etc. and other situational and environment related variables, and the predicted outputs 540 may be actual linear and angular velocity. The new observations (x) 565 may be sampled from the posterior distribution 535 or updated posterior distribution 545 to obtain the predicted outputs (y) 540. In downstream processes, the predicted outputs (y) 540 can be used for control of the autonomous vehicle.

The predictive model update stage 515 calculates the updated posterior distribution 545 and updates the trained action models 555 based on observed data points of interest 550. In some instances, to calculate the updated posterior distribution 545, the data and the test observations are conditioned out of the posterior distribution 535. Because a GP prior distribution 525 may be used for training the models 520, calculating the updated posterior distribution 545 is tractable through the posterior distribution 535, and leads to a normal distribution that can be completely described by the mean function and covariance matrix.

The machine-learning modeling system 500 may be implemented using various approaches to enable the automation of a vehicle on a completely new operating surface or a changing operating surface. In one exemplary approach, a vehicle may be first operated manually or via remote control for a predetermined or arbitrary amount of time to collect data (input and output data) pertaining to the work-site environment for the training samples 540. The input data (observations) may be associated or labeled with the corresponding output data (e.g., labels 560). The predictive model training stage 505 trains one or more models 520 having a prior distribution 525 using the training samples 540 until the one or more models 520 are fitted, tested, and/or validated. In some instances, the predictive model training stage 505 is implemented offline from the autonomous vehicle (e.g., in a system or computing device separate from the autonomous vehicle) to train the one or more models 520. In other embodiments, the predictive model training stage 505 is implemented onboard the autonomous vehicle (e.g., in a system or computing device of the autonomous vehicle) to train the one or more models 520 and calculate a posterior distribution 535.

Once the one or more models 520 are fitted, tested, and/or validated, the one or more models 520 may be deployed (e.g., in a system or computing device of the autonomous vehicle) as one or more trained action models 555 having the posterior distribution 535 for full autonomous operations in the actions prediction stage 510. The autonomous vehicle may be operated in the work-site environment and during operation new observations may be used in the actions prediction stage 510 as input in the one or more trained action models 555 to generate predicted output 540 based on the posterior distribution 535. With autonomous operation of the vehicle underway, the one or more trained action models 555 may be continuously updated on a real time basis in the predictive model update stage 515 using select data points 550 to calculate an updated posterior distribution 545 and ultimately improve control.

In another exemplary approach, a vehicle may be loaded with a baseline model (e.g., a pre-trained action model 555) trained and fitted on training samples 540 collected in a work-site environment similar to an actual work-site environment. The autonomous vehicle may be operated in a safe zone of the work-site environment (an area with similar conditions to the work-site environment but reserved for testing to minimize harm to the vehicle, persons, machines, other vehicles, etc.) and during operation the one or more trained action models 555 may be continuously updated on a real time basis in the predictive model update stage 515 using select data points 550 to calculate an updated posterior distribution 545 (specific to the conditions of the work-site environment). Once the one or more trained action models 555 are updated with observed data from operation of the vehicle in the safe zone of the work-site environment, the one or more action models 555 may be fully deployed (e.g., in a system or computing device of the autonomous vehicle) having the updated posterior distribution 535 for full autonomous operations in the kinematics and dynamic behavior prediction stage 510. The autonomous vehicle may be operated in the work-site environment and during operation new observations may be used in the kinematics and dynamic behavior prediction stage 510 as input in the one or more trained action models 555 to generate predicted output 540 based on the updated posterior distribution 535. With autonomous operation of the vehicle underway, the one or more trained action models 555 may be continuously updated on a real time basis in the predictive model update stage 515 using select data points 550 to recalculate an updated posterior distribution 545 and ultimately improve control.

FIG. 6 is a block diagram illustrating a process 600 for generating and executing a plan of action for controlling an autonomous vehicle according to various embodiments. The processing depicted in FIG. 6 may be implemented in software (e.g., code, instructions, program) executed by one or more processing units (e.g., processors, cores) of the respective systems, hardware, or combinations thereof. The software may be stored on a non-transitory storage medium (e.g., on a memory device). The method presented in FIG. 6 and described below is intended to be illustrative and non-limiting. Although FIG. 6 depicts various processing steps occurring in a particular sequence or order, this is not intended to be limiting. In certain alternative embodiments, the steps may be performed in a different order, certain steps omitted, or some steps performed in parallel. In certain embodiments, such as in the embodiment depicted in FIG. 4, the processing depicted in FIG. 6 may be performed by a controller system using one or more predictive models trained on a training system, as described with respect to FIGS. 2A, 2B, and 5.

At step 605, sensor data sensed by one or more sensors and/or other inputs are received by an autonomous vehicle management system. For example, sensor data may be received from a GPS sensor, one or more cameras mounted on the autonomous vehicle, from LIDAR, and the like. In certain instances, the sensor data provides a representation of operation of the autonomous vehicle in the worksite environment and situational context of the worksite environment. At step 610, consistency checks (e.g., performed by a consistency module) are performed on the received sensor data, including performing rationality checks and deficiency checks on the received sensor data and normalizing the received sensor data to generate normalized sensor data. At step 615, a consistent internal map is generated and/or updated by autonomous vehicle management system based upon the sensor data received in step 605 and normalized in step 610. In certain embodiments, a perception subsystem is configured to receive the sensor data and generate the internal map. If an internal map has already been previously generated, generating the internal map in may include updating the consistent internal map based on newly received sensor data. As previously described, the consistent internal map can be a three-dimensional map of the autonomous vehicle's environment. The internal map generated in step 615 may be continually updated as the state of autonomous vehicle and the state of the environment around the autonomous vehicle changes. The processing in step 615 ensures that a consistent internal map is kept up to date.

At step 620, the autonomous vehicle management system generates a plan of action using the internal map generated in step 615 and based upon other inputs such as the task to be achieved by autonomous vehicle, safety considerations, localization information, and the like. In certain embodiments, processing in step 620 may be performed by planning subsystem of autonomous vehicle management system. There are various ways in which planning subsystem may access the internal map generated in step 615. In one instance, an application programming interface (API) may be provided that enables planning subsystem to access and query the internal map. In other instances, other mechanisms may be provided that enable planning subsystem to access and use the internal map.

In various embodiments, generating the plan of action comprises obtaining the task to be performed by the autonomous vehicle in a worksite environment, and determining one or more subtasks to be performed to perform the task based on a premapping of the task and the one or more subtasks. In some instances, the premapping is provided by an administrator or user of the controller system. The generating the plan of action further comprises determining a first task context associated with a first subtask of the one or more subtasks based on a first set of sensor data. The first task context may be determined by identifying a predefined set of variables (e.g., a variable for the angle of approach, a variable for the shape of the material pile, a variable for the road conditions, a variable for the type of material, etc.) from the representation of operation of the autonomous vehicle in the worksite environment and the situational context of the worksite environment, and defining the first task context based on the predefined set of variables.

The generating the plan of action further comprises identifying a first predictive model from a library of predictive models based on the first task context associated with the first subtask. The first predictive model is trained on training data having features or variables consistent with the first task context (e.g., trained on a similar shape of material pile, in similar environmental conditions, with a similar angle of approach, etc.), and is learned to perform the first subtask. As used herein similar means, identical or substantially similar. The first predictive model may be identified by comparing the predefined set of variables to features or variables in training data used to train each predictive model within the library of predictive models, ranking, based on the comparing, a similarity of the predefined set of variables to the features or variables in the training data used to train each predictive model within the library of predictive models, and selecting, based on the ranking, the highest ranked predictive model, where the highest ranked predictive model in this example is the first predictive model. In certain instances, the features or variables in the training data used to train each predictive model are stored in metadata associated with each predictive model.

As should be understood, the above processes for generating the action plan may be repeated iteratively until one or more predictive models are identified for performing each of the one or more subtasks of the task. For example, a second set of sensor data may be obtained providing another representation of operation of the autonomous vehicle in the worksite environment and the situational context of the worksite environment, and the controller system may determine a second task context associated with a second subtask of the one or more subtasks based on the second set of sensor data; identify a second predictive model from another library of predictive models based on the second task context associated with the second subtask, where the second predictive model is trained on training data having features or variables consistent with the second task context; estimate, by the second predictive model, a second set of output data based on the second set of sensor data; and control one or more operations of the autonomous vehicle in the worksite environment to perform the second subtask using a second set of input data, wherein the second set of input data is derived from the second set of sensor data and the second set of output data. In some instances, one or more of the subtasks may be performed using more than one predictive model, and thus the above processes may be repeated iteratively for each subtask until all predictive models are identified for performing each of the one or more subtasks of the task. Moreover, if a predictive model is not determinable for a given subtask then the predictive model may identify a best fit predictive model from the library for performing the subtask or issue an error in the action plan or request manual assistance in the action plan for that subtask.

At optional step 625, the planning subsystem sends instructions to one or more sensors to control the behavior of the sensors. For example, the sensor data captured by the sensors and/or communicated from the sensors to autonomous vehicle management system may be dynamically and on-demand controlled by autonomous vehicle management system. This may result in autonomous vehicle management system receiving changed sensor data (in step 605), and the internal map may be regenerated or updated based upon the changed sensor data. This may further result in generating a different or updated plan of action for controlling the autonomous vehicle.

At step 630, the behavior of autonomous vehicle is controlled based upon the plan of action generated in step 620. As described herein, in some embodiments, the plan of action generated by planning subsystem may be communicated to controls subsystem, which may then control one or more systems of vehicle systems to control the behavior of autonomous vehicle to achieve a task in a safe manner. The autonomous vehicle management system uses various AI and deep learning based models and techniques including the predictive model(s) identified in step 620 to perform its processing and control the behavior of the autonomous vehicle. For example, AI based techniques (e.g., a Bayesian model) may be used by the controls subsystem (e.g., the stability control subsystem) to estimate, using the sensor data, output of the autonomous vehicle including kinematics and dynamic behavior of the autonomous vehicle and improve control of the autonomous vehicle.

In various embodiments, control of the autonomous vehicle in accordance with the plan of action may comprise obtaining collected data and using the collected data to estimate output of the autonomous vehicle kinematics and dynamic behavior for the autonomous vehicle. In some instances, the stability control subsystem trains, fits, and updates one or more predictive models on the collected data for the autonomous operations. In other instances, the stability control subsystem continuously updates the one or more predictive models on real time basis to continually improve control of the autonomous vehicle. In yet other instances, the stability control subsystem predicts output based on new input variables using the one or more predictive models for improved control of the autonomous vehicle (e.g., greater stability in the work-site environment). For example, the stability control subsystem may receive a list of inputs (x₁) and associated outputs (y₁); train, fit, and update one or more predictive models on the inputs (x₁) and associated outputs (y₁); receive a second list of inputs (x₂) that the planning subsystem and control system have identified for accomplishing an action or task (e.g., make a right turn in 20 meters); predict a set of outputs (y₂) using the trained one or more predictive models; receive a third list of inputs (x₃) and associated outputs (y₃) (may be received as a result of implementing control using the predicted set of outputs (y₂)); and update the one or more predictive models using the inputs (x₃) and associated outputs (y₃).

The control of the autonomous vehicle in accordance with the plan of action may further comprise using the predicted set of outputs (y₂) (e.g., linear velocity and angular velocity) to control the autonomous vehicle in a manner that avoids instability. In some embodiments, the operation of the autonomous vehicle is modified according to the predicted set of outputs (y₂). For example, the stability control subsystem may receive operating information and predict output. The operating information may include any operating information such as yaw rate, wheel speed, steering angles, as well as other information used by the stability control system. The stability control subsystem can determine if the vehicle behavior is stable. In some instances, the stability of the vehicle is determined by comparing the actual path and/or the predicted path (based on the predicted output) of the autonomous vehicle with the intended path. If the stability control subsystem determines the vehicle behavior is stable, then control continues as programmed (e.g., as presently instructed by the planning subsystem and control system). If the stability control subsystem determines the vehicle behavior is unstable, then the stability control subsystem may calculate a set of corrected input data such as position/displacement of joy stick/accelerator, steering, brakes, etc. to stabilize the autonomous vehicle and bring the autonomous vehicle back into the intended path. In some instances, the stability control subsystem inputs the calculated set of corrected input data into the one or more predictive models to obtain updated predicted output. Thereafter, the stability control subsystem can determine if the vehicle behavior will be stable by comparing the updated predicted path (based on the updated predicted output) of the autonomous vehicle with the intended path. If the stability control subsystem determines the vehicle behavior will be stable, then the stability control subsystem sends the set of corrected input data to the planning subsystem, control system, and/or vehicle systems to modify the operation of the autonomous vehicle. If the stability control subsystem determines the vehicle behavior will still be unstable, then the stability control subsystem recalculates the set of corrected input data and the process repeats until the autonomous vehicle brought back into the intended path and the autonomous vehicle is stabilized.

With autonomous operation of the vehicle underway, at step 635 the one or more predictive models are continuously updated on a real time basis using select data points (e.g., newly observed independent variables x (input) and dependent variables y (output)) to recalculate an updated posterior distribution and ultimately improve predictions for controlling the vehicle in the work-site environment. Moreover, the sensor data may be used to continuously update the plan of action, identify different predictive models better suited for updated task context, and optimize control of the autonomous vehicle using the identified different predictive models in view of the changing operation of the autonomous vehicle in the worksite environment and/or changing situational context of the worksite environment. For example, a second set of sensor data may be obtained providing another representation of operation of the autonomous vehicle in the worksite environment and the situational context of the worksite environment, and the controller system may determine a second task context associated with the first subtask of the one or more subtasks based on the second set of sensor data; identifying a second predictive model from the library of predictive models based on the second task context associated with the first subtask, where the second predictive model is trained on training data having features or variables consistent with the second task context; estimate a second set of output data based on the second set of sensor data; and control one or more operations of the autonomous vehicle in the worksite environment to perform the first subtask using a second set of input data, wherein the second set of input data is derived from the second set of sensor data and the second set of output data.

FIG. 7 depicts a simplified block diagram of an exemplary computing system 700 that can be used to implement one or more of the systems and subsystems described in this disclosure and/or to perform any one of the processes or methods described herein. For example, in embodiments where autonomous vehicle management system is implemented in software, the software may be executed by a computing system such as computing system 700 depicted in FIG. 7. Computing system 700 may include, for example, a processor, memory, storage, and I/O devices (e.g., a monitor, a keyboard, a disk drive, an Internet connection, etc.). In some instances, computing system 700 may also include other components, circuitry, or other specialized hardware for carrying out specialized functions. In some operational settings, computing system 700 may be configured as a system that includes one or more units, each of which is configured to carry out some aspects of the processes either in software only, hardware only, or some combination thereof. Computing system 700 can be configured to include additional systems in order to fulfill various functionalities.

As depicted in embodiment in FIG. 7, computing system 700 includes one or more processing units 708, a set of memories (including system memory 710, computer-readable media 720, and disk storage 716), and an I/O subsystem 706. These components may be communicatively coupled to each other via a bus subsystem that provides a mechanism for the various systems and subsystems of computing system 700 to communicate with each other as intended. The bus subsystem can be any of several types of bus structures including a memory bus or memory controller, a peripheral bus, a local bus using any of a variety of bus architectures, and the like. In some embodiments, components 706, 708 and 710 may be located on a motherboard 704.

Processing units 708 may include one or more processors. The processors may be single or multicore processors. Processor units 708 can also be implemented using customized circuits, such as application specific integrated circuits (ASICs), or field programmable gate arrays (FPGAs). The processors are configured to execute instructions (e.g., programs, code, etc.) stored in the various memories, such as in system memory 710, on computer readable storage media 720, or on disk 716. The programs or processes may be executed sequentially or in parallel. In certain embodiments, computing system 700 may provide a virtualized computing environment executing one or more virtual machines. In such embodiments, one or more processors or cores of processors may be allocated to each virtual machine. In some embodiments, a processing unit 708 may include special purpose co-processors such as graphics processors (GPUs), digital signal processors (DSPs), or the like.

The set of memories can include one or more non-transitory memory devices, including volatile and non-volatile memory devices. Software (programs, code modules, instructions) that, when executed by one or more processors of the processing unit(s) 708 provide the functionality described herein, may be stored in one or more of the memories. Flash memory 712 may also be included in certain embodiments. System memory 710 may include a number of memories including a volatile main random access memory (RAM) (e.g., static random access memory (SRAM), dynamic random access memory (DRAM), and the like) for storage of instructions and data during program execution and a non-volatile read only memory (ROM) or flash memory in which fixed instructions are stored. In some implementations, a basic input/output system (BIOS), containing the basic routines that help to transfer information between elements within computer system 700, such as during start-up, may typically be stored in the ROM. The RAM typically contains data and/or program modules that are presently being operated and executed by the processing unit(s) 708.

Executable code, program instructions, applications, and program data may be loaded into system memory 710 and executed by one or more processors of processing unit(s) 708. One or more operating systems may also be loaded into system memory 710. Examples of operating systems include, without limitation, different versions of Microsoft Windows®, Apple Macintosh®, Linux operating systems, and/or mobile operating systems such as iOS, Windows® Phone, Android® OS, BlackBerry® OS, Palm® OS operating systems, and others.

In certain embodiments, programming modules and instructions, data structures, and other data (collectively 722) that are used to provide the functionality of some embodiments may be stored on computer-readable media 720. A media drive 718 connected to computing system 700 may be provided for reading information from and/or writing information to computer-readable media 720. Computer-readable media 720 may include non-volatile memory such as a magnetic disk drive, an optical disk drive such as a CD ROM, DVD, a Blu-Ray® disk, or other optical media, Zip® drives, various types of memory cards and drives (e.g., a USB flash drive, SD cards), DVD disks, digital video tape, solid-state drives (SSD), and the like.

I/O subsystem 706 may include devices and mechanisms for inputting information to computing system 700 and/or for outputting information from or via computing system 700. In general, use of the term input device is intended to include all possible types of devices and mechanisms for inputting information to computing system 700. Input mechanisms may include, for example, a keyboard, pointing devices such as a mouse or trackball, a touchpad or touch screen incorporated into a display, a scroll wheel, a click wheel, a dial, a button, a switch, a keypad, audio input devices with voice command recognition systems, microphones, cameras, digital camcorders, portable media players, webcams, image scanners, fingerprint scanners, barcode readers, and the like. In general, use of the term output device is intended to include all possible types of devices and mechanisms for outputting information from computing system 700 to a user or other computer. Such output devices may include one or more types of displays, indicator lights, or non-visual displays such as audio output devices, printers, speakers, headphones, voice output devices, etc. I/O subsystem 706 may also include interfaces to input and/or output devices external to the I/O subsystem 706, such as a display 714.

Computing system 700 may include a communications subsystem 724 that provides an interface for computing system 700 to communicate (e.g., receive data, send data) with other computer systems and networks. Communication subsystem 724 may support both wired and/or wireless communication protocols. For example, communication subsystem 724 may enable computing system 700 to be communicatively coupled with remote sensors, with a network such as the Internet, and the like. Various different communication protocols and formats may be used for the communications such Wi-Fi, Bluetooth® (and/or other standards for exchanging data over short distances includes those using short-wavelength radio transmissions), USB, Ethernet, cellular, an ultrasonic local area communication protocol, etc.

Computing system 700 can be one of various types, including a mobile device (e.g., a cellphone, a tablet, a PDA, etc.), a personal computer, a workstation, or any other data processing system. Due to the ever-changing nature of computers and networks, the description of computer system 700 depicted in FIG. 7 is intended only as a specific example. Many other configurations having more or fewer components than the system depicted in FIG. 7 are possible.

At least some values based on the results of the above-described processes can be saved for subsequent use. Additionally, a computer-readable medium can be used to store (e.g., tangibly embody) one or more computer programs for performing any one of the above-described processes by means of a computer. The computer program may be written, for example, in a general-purpose programming language (e.g., Pascal, C, C++, Java, Python) and/or some specialized application-specific language (PHP, JavaScript, XML). It is noted that JavaScript has been used as an example in several embodiments. However, in other embodiments, another scripting language and/or JavaScript variants can be utilized as well.

The described features, structures, or characteristics of described in this disclosure may be combined in any suitable manner in one or more embodiments. In the description herein, numerous specific details are provided, such as examples of programming, software modules, user selections, network transactions, database queries, database structures, hardware modules, hardware circuits, hardware chips, etc., to provide a thorough understanding of various embodiments. One skilled in the relevant art will recognize, however, that the features may be practiced without one or more of the specific details, or with other methods, components, materials, and so forth. In other instances, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring novel aspects.

The schematic flow chart diagrams included herein are generally set forth as logical flow chart diagrams. As such, the depicted order and labeled steps are indicative of one embodiment of the presented method. Other steps and methods may be conceived that are equivalent in function, logic, or effect to one or more steps, or portions thereof, of the illustrated method. Additionally, the format and symbols employed are provided to explain the logical steps of the method and are understood not to limit the scope of the method. Although various arrow types and line types may be employed in the flow chart diagrams, they are understood not to limit the scope of the corresponding method. Indeed, some arrows or other connectors may be used to indicate only the logical flow of the method. For instance, an arrow may indicate a waiting or monitoring period of unspecified duration between enumerated steps of the depicted method. Additionally, the order in which a particular method occurs may or may not strictly adhere to the order of the corresponding steps shown.

Although specific embodiments have been described, various modifications, alterations, alternative constructions, and equivalents are possible. Embodiments are not restricted to operation within certain specific data processing environments, but are free to operate within a plurality of data processing environments. Additionally, although certain embodiments have been described using a particular series of transactions and steps, it should be apparent to those skilled in the art that this is not intended to be limiting. Although some flow charts describe operations as a sequential process, many of the operations can be performed in parallel or concurrently. In addition, the order of the operations may be rearranged. A process may have additional steps not included in the figure. Various features and aspects of the above-described embodiments may be used individually or jointly.

Further, while certain embodiments have been described using a particular combination of hardware and software, it should be recognized that other combinations of hardware and software are also possible. Certain embodiments may be implemented only in hardware, or only in software, or using combinations thereof. The various processes described herein can be implemented on the same processor or different processors in any combination.

Where devices, systems, components or modules are described as being configured to perform certain operations or functions, such configuration can be accomplished, for example, by designing electronic circuits to perform the operation, by programming programmable electronic circuits (such as microprocessors) to perform the operation such as by executing computer instructions or code, or processors or cores programmed to execute code or instructions stored on a non-transitory memory medium, or any combination thereof. Processes can communicate using a variety of techniques including but not limited to conventional techniques for inter-process communications, and different pairs of processes may use different techniques, or the same pair of processes may use different techniques at different times.

Specific details are given in this disclosure to provide a thorough understanding of the embodiments. However, embodiments may be practiced without these specific details. For example, well-known circuits, processes, algorithms, structures, and techniques have been shown without unnecessary detail in order to avoid obscuring the embodiments. This description provides example embodiments only, and is not intended to limit the scope, applicability, or configuration of other embodiments. Rather, the preceding description of the embodiments will provide those skilled in the art with an enabling description for implementing various embodiments. Various changes may be made in the function and arrangement of elements.

The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. It will, however, be evident that additions, subtractions, deletions, and other modifications and changes may be made thereunto without departing from the broader spirit and scope as set forth in the claims. Thus, although specific embodiments have been described, these are not intended to be limiting. Various modifications and equivalents are within the scope of the following claims. 

What is claimed is:
 1. A method comprising: obtaining, by a controller system, a task to be performed by an autonomous vehicle in a worksite environment; determining, by the controller system, one or more subtasks to be performed to perform the task based on a premapping of the task and the one or more subtasks; obtaining, by the controller system, a first set of sensor data providing a representation of operation of the autonomous vehicle in the worksite environment and situational context of the worksite environment; determining, by the controller system, a first task context associated with a first subtask of the one or more subtasks based on the first set of sensor data; identifying, by the controller system, a first predictive model from a library of predictive models based on the first task context associated with the first subtask, wherein the first predictive model is trained on training data having features or variables consistent with the first task context; estimating, by the first predictive model, a first set of output data based on the first set of sensor data; and controlling, by the controller system, one or more operations of the autonomous vehicle in the worksite environment to perform the first subtask using a first set of input data, wherein the first set of input data is derived from the first set of sensor data and the first set of output data.
 2. The method of claim 1, further comprising: obtaining, by the controller system, a second set of sensor data providing another representation of operation of the autonomous vehicle in the worksite environment and the situational context of the worksite environment; determining, by the controller system, a second task context associated with the first subtask of the one or more subtasks based on the second set of sensor data; identifying, by the controller system, a second predictive model from the library of predictive models based on the second task context associated with the first subtask, wherein the second predictive model is trained on training data having features or variables consistent with the second task context; estimating, by the second predictive model, a second set of output data based on the second set of sensor data; and controlling, by the controller system, one or more operations of the autonomous vehicle in the worksite environment to perform the first subtask using a second set of input data, wherein the second set of input data is derived from the second set of sensor data and the second set of output data.
 3. The method of claim 1, further comprising: obtaining, by the controller system, a second set of sensor data providing another representation of operation of the autonomous vehicle in the worksite environment and the situational context of the worksite environment; determining, by the controller system, a second task context associated with a second subtask of the one or more subtasks based on the second set of sensor data; identifying, by the controller system, a second predictive model from another library of predictive models based on the second task context associated with the second subtask, wherein the second predictive model is trained on training data having features or variables consistent with the second task context; estimating, by the second predictive model, a second set of output data based on the second set of sensor data; and controlling, by the controller system, one or more operations of the autonomous vehicle in the worksite environment to perform the second subtask using a second set of input data, wherein the second set of input data is derived from the second set of sensor data and the second set of output data.
 4. The method of claim 1, wherein the determining the first task context comprises: identifying a predefined set of variables from the representation of operation of the autonomous vehicle in the worksite environment and the situational context of the worksite environment; and defining the first task context based on the predefined set of variables.
 5. The method of claim 4, wherein the identifying the first predictive model comprises: comparing the predefined set of variables to features or variables in training data used to train each predictive model within the library of predictive models; ranking, based on the comparing, a similarity of the predefined set of variables to the features or variables in the training data used to train each predictive model within the library of predictive models; and selecting, based on the ranking, the highest ranked predictive model, wherein the highest ranked predictive model in the first predictive model.
 6. The method of claim 4, wherein the features or variables in the training data used to train each predictive model are stored in metadata associated with each predictive model.
 7. The method of claim 1, wherein the first predictive model has a Gaussian process that defines a posterior distribution over one or more functions that define a relationship between independent variables and dependent variables for the operation of the autonomous vehicle in the worksite environment, and wherein the first predictive model is trained on the training data having the features or variables using reinforcement learning.
 8. A system comprising: one or more data processors; and a non-transitory computer readable storage medium containing instructions which, when executed on the one or more data processors, cause the one or more data processors to perform actions including: obtaining, by a controller system, a task to be performed by an autonomous vehicle in a worksite environment; determining, by the controller system, one or more subtasks to be performed to perform the task based on a premapping of the task and the one or more subtasks; obtaining, by the controller system, a first set of sensor data providing a representation of operation of the autonomous vehicle in the worksite environment and situational context of the worksite environment; determining, by the controller system, a first task context associated with a first subtask of the one or more subtasks based on the first set of sensor data; identifying, by the controller system, a first predictive model from a library of predictive models based on the first task context associated with the first subtask, wherein the first predictive model is trained on training data having features or variables consistent with the first task context; estimating, by the first predictive model, a first set of output data based on the first set of sensor data; and controlling, by the controller system, one or more operations of the autonomous vehicle in the worksite environment to perform the first subtask using a first set of input data, wherein the first set of input data is derived from the first set of sensor data and the first set of output data.
 9. The system of claim 8, wherein the actions further comprise: obtaining, by the controller system, a second set of sensor data providing another representation of operation of the autonomous vehicle in the worksite environment and the situational context of the worksite environment; determining, by the controller system, a second task context associated with the first subtask of the one or more subtasks based on the second set of sensor data; identifying, by the controller system, a second predictive model from the library of predictive models based on the second task context associated with the first subtask, wherein the second predictive model is trained on training data having features or variables consistent with the second task context; estimating, by the second predictive model, a second set of output data based on the second set of sensor data; and controlling, by the controller system, one or more operations of the autonomous vehicle in the worksite environment to perform the first subtask using a second set of input data, wherein the second set of input data is derived from the second set of sensor data and the second set of output data.
 10. The system of claim 8, wherein the actions further comprise: obtaining, by the controller system, a second set of sensor data providing another representation of operation of the autonomous vehicle in the worksite environment and the situational context of the worksite environment; determining, by the controller system, a second task context associated with a second subtask of the one or more subtasks based on the second set of sensor data; identifying, by the controller system, a second predictive model from another library of predictive models based on the second task context associated with the second subtask, wherein the second predictive model is trained on training data having features or variables consistent with the second task context; estimating, by the second predictive model, a second set of output data based on the second set of sensor data; and controlling, by the controller system, one or more operations of the autonomous vehicle in the worksite environment to perform the second subtask using a second set of input data, wherein the second set of input data is derived from the second set of sensor data and the second set of output data.
 11. The system of claim 8, wherein the determining the first task context comprises: identifying a predefined set of variables from the representation of operation of the autonomous vehicle in the worksite environment and the situational context of the worksite environment; and defining the first task context based on the predefined set of variables.
 12. The system of claim 11, wherein the identifying the first predictive model comprises: comparing the predefined set of variables to features or variables in training data used to train each predictive model within the library of predictive models; ranking, based on the comparing, a similarity of the predefined set of variables to the features or variables in the training data used to train each predictive model within the library of predictive models; and selecting, based on the ranking, the highest ranked predictive model, wherein the highest ranked predictive model in the first predictive model.
 13. The system of claim 11, wherein the features or variables in the training data used to train each predictive model are stored in metadata associated with each predictive model.
 14. The system of claim 8, wherein the first predictive model has a Gaussian process that defines a posterior distribution over one or more functions that define a relationship between independent variables and dependent variables for the operation of the autonomous vehicle in the worksite environment, and wherein the first predictive model is trained on the training data having the features or variables using reinforcement learning.
 15. A computer-program product tangibly embodied in a non-transitory machine-readable storage medium, including instructions configured to cause one or more data processors to perform actions including: obtaining, by a controller system, a task to be performed by an autonomous vehicle in a worksite environment; determining, by the controller system, one or more subtasks to be performed to perform the task based on a premapping of the task and the one or more subtasks; obtaining, by the controller system, a first set of sensor data providing a representation of operation of the autonomous vehicle in the worksite environment and situational context of the worksite environment; determining, by the controller system, a first task context associated with a first subtask of the one or more subtasks based on the first set of sensor data; identifying, by the controller system, a first predictive model from a library of predictive models based on the first task context associated with the first subtask, wherein the first predictive model is trained on training data having features or variables consistent with the first task context; estimating, by the first predictive model, a first set of output data based on the first set of sensor data; and controlling, by the controller system, one or more operations of the autonomous vehicle in the worksite environment to perform the first subtask using a first set of input data, wherein the first set of input data is derived from the first set of sensor data and the first set of output data.
 16. The computer-program product of claim 15, wherein the actions further comprise: obtaining, by the controller system, a second set of sensor data providing another representation of operation of the autonomous vehicle in the worksite environment and the situational context of the worksite environment; determining, by the controller system, a second task context associated with the first subtask of the one or more subtasks based on the second set of sensor data; identifying, by the controller system, a second predictive model from the library of predictive models based on the second task context associated with the first subtask, wherein the second predictive model is trained on training data having features or variables consistent with the second task context; estimating, by the second predictive model, a second set of output data based on the second set of sensor data; and controlling, by the controller system, one or more operations of the autonomous vehicle in the worksite environment to perform the first subtask using a second set of input data, wherein the second set of input data is derived from the second set of sensor data and the second set of output data.
 17. The computer-program product of claim 15, wherein the actions further comprise: obtaining, by the controller system, a second set of sensor data providing another representation of operation of the autonomous vehicle in the worksite environment and the situational context of the worksite environment; determining, by the controller system, a second task context associated with a second subtask of the one or more subtasks based on the second set of sensor data; identifying, by the controller system, a second predictive model from another library of predictive models based on the second task context associated with the second subtask, wherein the second predictive model is trained on training data having features or variables consistent with the second task context; estimating, by the second predictive model, a second set of output data based on the second set of sensor data; and controlling, by the controller system, one or more operations of the autonomous vehicle in the worksite environment to perform the second subtask using a second set of input data, wherein the second set of input data is derived from the second set of sensor data and the second set of output data.
 18. The computer-program product of claim 15, wherein the determining the first task context comprises: identifying a predefined set of variables from the representation of operation of the autonomous vehicle in the worksite environment and the situational context of the worksite environment; and defining the first task context based on the predefined set of variables.
 19. The computer-program product of claim 18, wherein the identifying the first predictive model comprises: comparing the predefined set of variables to features or variables in training data used to train each predictive model within the library of predictive models; ranking, based on the comparing, a similarity of the predefined set of variables to the features or variables in the training data used to train each predictive model within the library of predictive models; and selecting, based on the ranking, the highest ranked predictive model, wherein the highest ranked predictive model in the first predictive model.
 20. The computer-program product of claim 15, wherein the first predictive model has a Gaussian process that defines a posterior distribution over one or more functions that define a relationship between independent variables and dependent variables for the operation of the autonomous vehicle in the worksite environment, and wherein the first predictive model is trained on the training data having the features or variables using reinforcement learning. 